package com.yunxi.basedata.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.basedata.pojo.FactoryVO;

import java.lang.reflect.InvocationTargetException;
import java.util.List;

/**
 * <p>
 * 工厂信息 服务类
 * </p>
 *
 * @author 
 * @since 2019-05-29
 */
public interface FactoryDubboService {

    FactoryVO getById(String id) throws InvocationTargetException, IllegalAccessException;

    void saveOrUpdate(FactoryVO factoryVO) throws InvocationTargetException, IllegalAccessException;

    void removeById(String id);

    PageInfo<FactoryVO> findPageByVO(FactoryVO factoryVO, Integer pageNum, Integer pageSize) throws InvocationTargetException, IllegalAccessException;

    void removeByListVo(List<FactoryVO> factoryVOList) throws IllegalAccessException, InvocationTargetException, InstantiationException;

    List<FactoryVO> findListByVo(FactoryVO factoryVO);
}
